package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    int saveData(String name, String age, String sex);
    int saveData(Review review);

    int deleteData(Long id);

    int updateData(Review review);


    Review getById(Long id);

    List<Review> getDataByPage();
}
